import {messages} from "share/common";
import React, { Component } from 'react';
import { Tabs } from 'antd';
const TabPane = Tabs.TabPane;
import ListPlane from './tabs/list-plane'

class OrderCenter extends Component{

  constructor(props){
    super(props);
    this.state = {
      currentTabKey:'1',
    }
  }

  onTabsChange = (key) => {
    this.setState({currentTabKey: key});
  }


  render(){
    const { currentTabKey } = this.state;
    return (
      <div>
        <Tabs activeKey={currentTabKey} type='card' onChange={this.onTabsChange}>
          <TabPane tab={messages('supplier.key434')/*机票订单*/} key='1'>
            <ListPlane />
          </TabPane>
        </Tabs>
      </div>
    );
  }
}

export default OrderCenter;
